package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.Team;
import com.ruoyi.system.domain.AdminTeam;
import com.ruoyi.common.core.domain.entity.TeamMeta;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ISysTeamMapper {
    void addTeam(@Param("team") Team team);

    void addAdminTeam(@Param("adminTeam") AdminTeam adminTeam);

    List<Team> selectUserTeam(@Param("teamId") Long teamId, @Param("userId") Long userId);

    List<TeamMeta> teamMeta(@Param("teamId") Long id);

}
